from django.urls import path
from . import views


urlpatterns = [
    path('', views.home, name='home'),
    path('register/', views.register, name='register'),
    path('login/', views.user_login, name='login'),
    path('logout/', views.user_logout, name='logout'),

    path('data/', views.data_list, name='data_list'),
    path('data/add/', views.data_add, name='data_add'),
    path('data/edit/<int:data_id>/', views.data_edit, name='data_edit'),
    path('data/delete/<int:data_id>/', views.data_delete, name='data_delete'),

    path('data/export/', views.export_json, name='export_json'),
    path('data/import/', views.import_json, name='import_json'),


]
